@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  outline: none;
  text-decoration: none;
}

div:focus {
  outline: none;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

.mb10 {
  margin-bottom: 10px;
}

//main-container全局样式
.app-main {
  min-height: 100%;
}

.app-container {
  padding: 20px;
  font-size: 20px !important;
}

.btn-right-container {
  position: relative;
  margin-bottom: 20px;
  text-align: right;
  // position: absolute;
  // top: 20px;
  // right: 20px;
}

.el-table--enable-row-hover .el-table__body tr:hover>td {
  background-color: lighten(#9FB6CD, 10%);
}

.el-table--striped .el-table__body tr.el-table__row--striped.current-row td,
.el-table__body tr.current-row>td {
  background-color: lighten(#9FB6CD, 10%);
}

.elips {
  min-width: 1px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.word-break {
  word-break: break-all;
  white-space: normal;
}

.el-dialog__header {
  border-bottom: 1px solid #f4f4f4;
}

textarea {
  resize: none !important;
}

.no-label label {
  visibility: hidden;
}

.tableHandleForm .half .el-form-item {
  width: 48%;
}

.tableHandleForm label {
  line-height: 20px;
}

.tableHandleForm .full .el-form-item {
  width: 100%;
}

.tableHandleForm .el-date-editor {
  width: 100%;
}

.app-container .el-select {
  width: 100%;
}

.app-container .el-cascader {
  width: 100%;
}

.block {
  margin-top: 30px;
}

.app-container .el-textarea__inner {
  resize: none;
}

.search-form .el-input {
  width: 160px;
}

.search-form .el-date-editor .el-range-separator,
.tableHandleForm .el-date-editor .el-range-separator {
  width: 6%;
}
.el-date-editor .el-range-separator{
  display: inline-block;
  padding: 0 !important;
}
.tableHandleForm .three {
  letter-spacing: -1px;
}

.tableHandleForm .three .el-form-item {
  margin-right: 1%;
  width: 32%;
}

.tableHandleForm .three button {
  width: 100%;
}

.noHeadTable thead {
  display: none;
}

.el-table__expanded-cell[class*=cell] {
  padding-right: 0;
}

// ::-webkit-scrollbar {
//   /*滚动条整体样式*/
//   width: 10px;
//   /*高宽分别对应横竖滚动条的尺寸*/
//   height: 2px;
// }

// ::-webkit-scrollbar-thumb {
//   /*滚动条里面小方块*/
//   border-radius: 4px;
//   -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
//   background: rgba(48, 65, 86, .8);
// }

// ::-webkit-scrollbar-track {
//   /*滚动条里面轨道*/
//   // -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
//   // border-radius: 4px;
//   // background: #EDEDED;
// }

.inputTable .cell {
  line-height: 28px;
  height: 28px;
  overflow: hidden;
}

.sidebar-container .iconfont {
  margin-right: 16px;
}

.el-dialog__wrapper .el-loading-mask {
  position: fixed;
}

._alert{
  position: absolute !important;
  bottom: 30px !important;
  right: 30px !important;
}
.hideSidebar .menu-wrapper{
  font-size: 18px;
  text-align: center !important;
}

.sidebar-container{
  background-color: #fff;
}
// 表格字体大小
.el-table{
  font-size: 16px !important;
  color:#333 !important;
}
// tree每项高度
.el-tree-node__content{
  height: 35px !important;
}
// tree字体大小
.el-tree-node__label {
  font-size: 18px !important;
}
.el-select__tags-text {
  font-size: 18px !important;
}
// mini 类型的输入框文字大小
.el-input--mini {
  font-size: 16px;
  color: #000;
}
// 表单项label字体大小
.el-form-item__label {
  font-size: 16px !important;
}
// 表单项 input输入框字体大小
.el-input {
  font-size: 16px !important;
  color: #000;
}
// 富文本编辑器字体大小
.ql-editor {
  font-size: 16px;
  color: #000;
}
// imgpreview dialog header底部1pxborder
.img-preview-dialog {
  .el-dialog__header {
    border-bottom: none;
  }
}

._pagination-t15 {
  margin-top: 15px;
}
._pagination-t20 {
  margin-top: 20px;
}
